package edu.uw.tcss360.group6.model;

import java.util.Map;
/**
 * Project: cd1 phase
 * Group 6- Ambi Adla
 * Author: David Sharer
 * Date: 2/24/13
 */

@SuppressWarnings("serial")
public class Judge extends User implements java.io.Serializable {

    //TODO: Can judges not judge more than one thing?
	private Category my_category;
	
	public Judge(User info, Category category) {
        super(info);
		my_category = category;
	}

    //TODO: Do we really want this? It seems more prudent to provide a getCategories
	public Map<String,Entry> getEntries() {
		return my_category.getEntries();
	}

    public Category getCategory() {
        return my_category;
    }
	
	//viewDraft(), don't exactly know what we want from this method
	
}
